Computer and Modernization ›› 2011, Vol. 1 ›› Issue (1): 117-4.doi: 10.3969/j.issn.1006-2475.2011.01.034
• 图像处理 • Previous Articles Next Articles
TANG Yong-yong1, FENG Jian1, DU Zhen-hua1, HU Zhi-yong2
Received:
Revised:
Online:
Published:
Abstract:
Based on the characteristic of new edge tables existing only in the scan line through the vertex, a new polygon scanning conversion algorithm is proposed in which scan range is divided and active edge table is updated by the y coordinate of vertex of polygon. The algorithm avoids the redundant identification operation to each scan line in the sorted edge table method. It is proposed the general algorithm of determined the serial number for front and back the apex and the general algorithm of creating a new edge table and the new edge table associated with of the y coordinates of apex. The steps of the algorithm are compared in a table. The result shows that the new algorithm has many advantages such as simple structure, easy to read, stable operation and fast implementation, etc.
Key words: polygon scan conversion, new edge table, modulus, standard template library
TANG Yong-yong;FENG Jian;DU Zhen-hua;HU Zhi-yong . Algorithm of Polygon Scan Conversion Based on Vertex of Polygon[J]. Computer and Modernization, 2011, 1(1): 117-4.
0 / / Recommend
Add to citation manager EndNote|Ris|BibTeX
URL: http://www.c-a-m.org.cn/EN/10.3969/j.issn.1006-2475.2011.01.034
http://www.c-a-m.org.cn/EN/Y2011/V1/I1/117